package com.fengmi.uc.controller;


import com.fengmi.address.MallAddress;
import com.fengmi.uc.service.IMallAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author sujie
 * @since 2022-11-30
 */
@RestController
@RequestMapping("uc")
public class MallAddressController {
    @Autowired
    IMallAddressService iMallAddressService;

    @RequestMapping("getMallAddress")
    public List<MallAddress> getMallAddress() {
        return  iMallAddressService.getMallAddress();
    }
}
